package com.steak.javase.reflect;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 刘牌
 * @Title:
 * @date 2022-04-0423:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    public String name;
    public String sex;
    public Integer age;

    public String getUser(String a , String b){
        return a != null && b != null ? a + b : "字符串为空";
    }
}
